//  @ Project : GagalPanen
//  @ File Name : gametime.hpp
//  @ Date : 3/9/2011
//  @ Author : 
//
//


#if !defined(_GAMETIME_H)
#define _GAMETIME_H

#include <fstream>

class GameTime {
public:
  // normal constructor
  GameTime();

  // load game constructor
  GameTime(std::ifstream& is);

  virtual void save(std::ofstream& os);

  virtual ~GameTime();

  int getDayCount();
  int getDayTime();
  void increaseDay();
  void increaseTime();

  int getSeason();

  /* Get remaining season length */
  int getSeasonLength();

  void decreaseTime(int count);

private:
  int day_count_;
  int day_time_;
};

#endif  //_GAMETIME_H
